<?php
include('config.inc.php');
echo "<title>$A_title</title>";
?>
<style type='text/css'>
<!--
body,td,th,pre {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: x-small;
	background-color: #000000;
	color: #ffffff;
}
.style1 {color: #FF0000}
a:link {
	color: #CCCCCC;
}
a:visited {
	color: #CECFCE;
}
a:hover {
	color: #999999;
}
a:active {
	color: #666666;
}
</style>
File Upload<br />
<?php
$size=round($A_maxsize/1024,0);
echo "Max file size: $size kb.<br />";
echo "Allowed File Types: JPG, GIF, PNG, TXT, DOC, RTF, PDF, MP3, MID, WMA, MPG, MPEG, AVI, and WMV \n";

echo "<br> <font color=\"red\">For liability and security resons your IP will be logged when you upload a file, your IP is <strong>".$_SERVER['REMOTE_ADDR']."</font></strong>\n";
?>
<br />
<form enctype="multipart/form-data" action="upload.php" method="POST">
<input name="userfile" type="file" /><br />
<?php
echo "<input type=\"checkbox\" name=\"agree\" value=\"22\" />I agree to the upload terms and conditions for ".$A_sitename." (<a href=\"agreement.php\">view terms</a>)<br />
<input type=\"submit\" value=\"Upload File\" />";
?>
</form>